package com.whty.module.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.whty.common.base.BaseEntity;
import java.util.Date;

/**
 * 文件表 gh_doc_file
 * 
 * @author mario
 * @date 2018-12-06
 */
public class DocFile extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Integer id;
	/** 文档名称 */
	private String docName;
	/** 文档类型 */
	private String docType;
	/** 文档路径 */
	private String docPath;
	/** 文档标签 */
	private String docTag;
	/** 文档所属类型 */
	private String docSort;
	/** 创建时间 */
	private Date createDate;
	/** 更新时间 */
	private Date updateDate;
	/** 创建人 */
	private String createBy;
	/** 更新人 */
	private String updateBy;
	/** 状态 */
	private String status;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setDocName(String docName) 
	{
		this.docName = docName;
	}

	public String getDocName() 
	{
		return docName;
	}
	public void setDocType(String docType) 
	{
		this.docType = docType;
	}

	public String getDocType() 
	{
		return docType;
	}
	public void setDocPath(String docPath) 
	{
		this.docPath = docPath;
	}

	public String getDocPath() 
	{
		return docPath;
	}
	public void setDocTag(String docTag) 
	{
		this.docTag = docTag;
	}

	public String getDocTag() 
	{
		return docTag;
	}
	public void setDocSort(String docSort) 
	{
		this.docSort = docSort;
	}

	public String getDocSort() 
	{
		return docSort;
	}
	public void setCreateDate(Date createDate) 
	{
		this.createDate = createDate;
	}

	public Date getCreateDate() 
	{
		return createDate;
	}
	public void setUpdateDate(Date updateDate) 
	{
		this.updateDate = updateDate;
	}

	public Date getUpdateDate() 
	{
		return updateDate;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("docName", getDocName())
            .append("docType", getDocType())
            .append("docPath", getDocPath())
            .append("docTag", getDocTag())
            .append("docSort", getDocSort())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("status", getStatus())
            .toString();
    }
}
